const { DataTypes } = require("sequelize");
const sequelize = require("./index");

const DailySentence = sequelize.define(
    "daily_sentence",
    {
        id: {
            type: DataTypes.INTEGER,
            primaryKey: true,
            allowNull: false,
            autoIncrement: true,
        },
        chContent: {
            type: DataTypes.STRING,
            allowNull: false,
        },
        enContent: {
            type: DataTypes.STRING,
            allowNull: false,
        },
        createTime: {
            type: DataTypes.DATE,
            allowNull: false,
        },
    },
    {
        timestamps: false,
    }
);

DailySentence.associate = ({}) => {};

module.exports = DailySentence;
